Configuring the Quectel Module
To complete the installation of the embedded Ayla CoAP agent on the Quectel BG96 module, you have to configure the module to access the base station. Following are the steps to accomplish this:
- Reset the BG96 board.
- Start the QCOM to open the AT COM port where you configure the Quectel BG96 module.
- Issue the following AT commands to write the Access Point Name (APN) information, set up the modes, and lock the module to the correct band:
NOTE |
Obtain the parameters for all of the actions in this step from the APN provider. |
- AT+CGDCONT=<cid>,<PDP_type>,<APN>
This command is used to specify the cid, PDP, and APN parameters. Please confirm these parameters with your local telecom carrier.
- AT+QCFG="nwscanseq",<scanseq>
This command is used to specify the sequence to search the network. For example, to search for LTE Cat.NB1 only, issue AT+QCFG=”nwscanseq”,03.
- AT+QCFG="nwscanseq",<scanmode>
This command is used to specify the network mode to be searched. For example, to search for LTE only, issue AT+QCFG="nwscanmode", 3
- AT+QCFG=”iotopmode”,<mode>
This command is used to specify the network category to search under the LTE network mode. For example, to use Cast.NB1, issue AT+QCFG="iotopmode",1.
- AT+QCFG="band",<gsmbandval>,<catm1bandval>,<catnb1bandval>
This command is used to specify the preferred frequency bands to prioritize when searching. For example, to use LTE Cat NB1 frequency B8, issue AT+QCFG=”band”,0,0, 80.
- AT+COPS=<mode>,<format>,<oper>,<Act>
This command is used to register the network operator. You can obtain that information from your local telecom carrier, or you can issue AT+COPS=? to list available operators in the network. Choose an operator, and register it to use the information. For example:
AT+COPS=?
+COPS: (1,"GT IoT","GT","46612",9),,(0,1,2,3,4),(0,1,2)
OK
AT+COPS=0,0,”46612”,9
NOTE |
For details and examples of the AT commands, refer to the Ayla Production Cellular Agent: AT Commands Guide on Ayla Connections. |
- Reset the BG96 board to open and run the Ayla CoAP embedded agent successfully.
Please click here to let us know how we're doing. Thank you.